Webopac Preferences – Shelfmarks
Vubis allows you to link shelfmark locations in the WebOpac to a graphical representation. The shelfmark then becomes a hyperlink. For example, it could display a map or diagram of your library, showing the general location of an item that has been retrieved in a search.
When you click the link a diagram, map or similar is shown:
The texts and images are contained in a CSP page and can be different for each profile.
The general SHELFMARK options are to allow hyperlinks to other pages for further location information based on the shelfmark. A CSP page allows for configurable images and texts to be displayed. Or a static html page can be called instead.
For a static html definition, the page file is created on the webserver, not the database server, in a directory called ‘UserFiles' which is a subdirectory of the css directory.
For csp pages, the page is located within the directory ‘UserFiles' which is a subdirectory of the directory where the csp pages are stored. This directory is on the database server, not the webserver.
Note
Creation of a CSP page demands a knowledge of Caché. The addition of such a page by Infor would not be in the normal scope of installation.
See also the chapter on CSP pages in the Technical Tips section.
First you must create the CSP pages via the Caché cube – Configuration Manager.
You can optionally add images for each CSP page as well as descriptive text. These must also be created prior to adding them via the Web Preferences tool.
The CSP page contains contents similar to the following key components
To retrieve the data:
<SCRIPT Language="Cache" RUNAT=server>
Set Text=%request.Get("Text")
Set Image=%request.Get("Image")
</script>
To use the data:
#(Text)# will replace the associated text string within the page
The following will insert the image if defined.
<CSP:IF condition=(Image'="")>
<IMG SRC="#(Image)#" width=80>
</CSP:IF>
The images and texts to use are defined on the shelfmark preferences page
· Click the button under the All Profiles section on the Start page.
The Shelfmarks screen is displayed:
· Select a language from the dropdown list.
· Select a database from the dropdown list.
· Select an institution/location from the dropdown list
· Enter a shelfmark (range) and an IP address.
· Choose the type (CSP page, text or image)
· and click on the button.
After clicking on the button the Content for display of shelfmark screen will be displayed:
· Add the wording for each language and click .
Note
Always remember to click the button to save any changes you have made.
Example full csp page is:
<HTML>
<STYLE TYPE="text/css">
BODY {background-color: "#FFFAF0"; color:"#000080"; font-family:"Arial"; font:"x-small"}
H1 {font-family: Arial; font-size:12 pt; color:"#800000"}
.TABELREGEL {font-size: 12 pt; color:"#000080"; font-family: Arial}
</STYLE>
<HEAD>
<SCRIPT Language="Cache" RUNAT=server>
Set Text=%request.Get("Text")
Set Image=%request.Get("Image")
</script>
<TITLE>
TITLEBAR text for page is here
</TITLE>
</HEAD>
<body bgcolor="#FFFAF0" LINK="#800000" VLINK="#8000080" ALINK="#800000">
<A NAME="Top"></A>
<BR><BR>
<FONT SIZE=2 FACE="Arial" COLOR="#000080">
<b>#(Text)#</b><br>
<br>
General Library text for the display<br>
Tel. 905 475 0525<br>
<br>
If you need more information, contact your branch:
<a HREF="mailto:libraryaddress@libary.com">
Click here to send email</a><BR>
<br>
<br>
Hours we are open:<br>
<br>
<table class="tabelregel" width=90% border=2 bordercolor="#000080">
<tr><td WIDTH="40%"><FONT FACE="Arial" SIZE=3 COLOR="#000080">Monday</font></td>
<td><FONT FACE="Arial" SIZE=2 COLOR="#000080">Closed</font></td></tr>
<tr><td><FONT FACE="Arial" SIZE=2 COLOR="#000080">Tuesday</font></td>
<td><FONT FACE="Arial" SIZE=2 COLOR="#000080">11:00 - 20:00 </font></td></tr>
<tr><td><FONT FACE="Arial" SIZE=2 COLOR="#000080">Wednesday - Friday</font></td>
<td><FONT FACE="Arial" SIZE=2 COLOR="#000080">9:00 - 20:00 </font></td></tr>
<tr><td><FONT FACE="Arial" SIZE=2 COLOR="#000080">Saturday - Sunday</font></td>
<td><FONT FACE="Arial" SIZE=2 COLOR="#000080">11:00 - 18:00</font></td></tr>
</table>
<BR>
<b>Floor Plan</b>
#(Text)#
<br>
<CSP:IF condition=(Image'="")>
<IMG SRC="#(Image)#" width=80>
</CSP:IF>
</BODY>
</HTML>
On the full record display, the shelfmark has a csp page associated with it, the location will appear as a hyperlink:
The result is (location BRA or Branch Library) is the image and TEXT is replaced in the csp page for display:
For the location NORTH, the hyperlink will generate the following instead using the same csp page:
· Document control - Change History
Version |
Date |
Change description |
Author |
1.0 |
June 2006 |
Creation delivered as part of build 17 updates |
|
2.0 |
March 2007 |
textual changes |
|
3.0 |
December 2009 |
added examples; textual improvements |
|